#ifndef GOMOKU_LAYER_H
#define GOMOKU_LAYER_H

#include "layer.h"
#include "network.h"

typedef layer gomoku_layer;

#ifdef __cplusplus
extern "C" {
#endif
gomoku_layer make_gomoku_layer(int batch, int inputs, int n, int size, int classes, int coords, int rescore);
void forward_gomoku_layer(const gomoku_layer l, network_state state);
void backward_gomoku_layer(const gomoku_layer l, network_state state);

#ifdef GPU
void forward_gomoku_layer_gpu(const gomoku_layer l, network_state state);
void backward_gomoku_layer_gpu(gomoku_layer l, network_state state);
#endif

#ifdef __cplusplus
}
#endif
#endif
